<section id="news" main="" ng-controller="adminNewsController">
  <div class="row ">
    <div>
      <button class="btn btn-default">按时间正序</button>
      <button class="btn btn-default">按时间反序</button>
      <button class="btn btn-default">按权值（由高到低）</button>
      <button class="btn btn-default">按权值（由低到高）</button>
      <button class="btn btn-default" ng-class="addNews ? 'addNews' : ''" ng-click="addNews = !addNews">添加</button>
    </div>
  </div>
  <div class="fh5co-blog-style-1">
    <div class="row p-b" id="masonry" masonry="1"></div>
  </div>

  <div id="add-n" class="container-fluid form-box wow fadeInUp " ng-show="!addNews">
    <form class="form-horizontal join-form col-sm-8 col-sm-push-1.5">

      <div>
        <div class="form-group">
          <label for="label" class="col-sm-2 control-label">标签</label>

          <div class="col-sm-10">
            <input type="text" class="form-control row" id="label" placeholder="例如'服务点'">
          </div>
        </div>
        <div class="form-group">
          <label for="photo" class="col-sm-2 control-label">上传图片</label>

          <div class="col-sm-10">
            <input type="file" class="form-control row" id="photo" placeholder="">
          </div>
        </div>
        <div class="form-group">
          <label for="title" class="col-sm-2 control-label">标题</label>

          <div class="col-sm-10">
            <input class="form-control row" id="title" placeholder="尽量简洁到不超过18个汉字">
          </div>
        </div>
        <div class="form-group">
          <label for="content" class="col-sm-2 control-label">内容</label>

          <div class="col-sm-10">
            <textarea class="form-control row " id="content" placeholder=""></textarea>
          </div>
        </div>

        <button type="button" class="btn btn-default" ng-class="addNews? 'addNews':''" ng-click='addNews = !addNews'>提交</button>

      </div>

    </form>
    <div class="row col-sm-4">
      <div class="">
        <a href="#" class="thumbnail">
          <img src="../res/images/wuchang.jpg" alt="...">
        </a>
      </div>
    </div>
  </div>

</section>
